﻿using System.Web.Mvc;
using IceDog.DNF.Program.Mvc5.Filters;

namespace IceDog.DNF.Program.Mvc5
{
    public class FilterConfig
    {
        public static void RegisterGlobalFilters(GlobalFilterCollection filters)
        {
            filters.Add(new HandleErrorAttribute());
            //自己定义的过滤器
            filters.Add(new TimingActionFilterAttribute());
        }
    }
}